export default [
    {
        component: 'Layout',
        hidden: false,
        meta: {
            title: '商户管理',
            icon: 'system',
            noCache: false,
        },
        name: 'Merchant',
        path: '/merchant',
        redirect: 'noRedirect',
        alwaysShow: true,
        children:[
            {
                name: 'Supplier',
                path: '/supplier',
                component: 'merchant/supplier/index.vue',
                hidden: false,
                meta: {
                  title: '供应商管理',
                  noCache: false,
                },
            },
            {
                name: 'Purchaser',
                path: '/purchaser',
                component: 'merchant/purchaser/index.vue',
                hidden: false,
                meta: {
                  title: '采购商管理',
                  noCache: false,
                },
            },
            {
                name: 'LogisticsCompany',
                path: '/logisticsCompany',
                component: 'merchant/logisticsCompany/index.vue',
                hidden: false,
                meta: {
                  title: '物流公司管理',
                  noCache: false,
                },
            },
        ]
    },
    {
        component: 'Layout',
        hidden: false,
        meta: {
            title: '对账单管理',
            icon: 'system',
            noCache: false,
        },
        name: 'AccountStatement',
        path: '/accountStatement',
        redirect: 'noRedirect',
        alwaysShow: true,
        children:[
            {
                name: 'SupplierAccountStatement',
                path: '/supplierAccountStatement',
                component: 'accountStatement/supplier/index.vue',
                hidden: false,
                meta: {
                  title: '供应商对账单',
                  noCache: false,
                },
            },
            {
                name: 'PurchaserAccountStatement',
                path: '/purchaserAccountStatement',
                component: 'accountStatement/purchaser/index.vue',
                hidden: false,
                meta: {
                  title: '采购商对账单',
                  noCache: false,
                },
            },
        ]
    }
]